package com.guoxue.dao;

import java.util.List;

import com.guoxue.domain.PlanProgressVo;

public interface IPlanProgressDao {

	public List<PlanProgressVo> getUserPlans(int id);

	public PlanProgressVo getPlanByUserAndPlanId(int id, int planId);

	public void savePlan(PlanProgressVo plan);

	public List<PlanProgressVo> getUserPlansByPlanId(int id, int beginPlanId, int endPlanId);

	public int getReadersCount(int id, int begin, int end);

	public PlanProgressVo getUserPlanByUidAndPlanId(int id, int planId);

	public int getCount(int readRound);

	public int getCompleteCount(int currentReadRound,int currentReadCount);

}
